home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 August: Tool Chest / Dev.CD Aug 98 TC.toast / Sample Code / Snippets / Toolbox / Tabs LDEF 1.0 / Tabs LDEF ƒ / Tabs LDEF.MPW.FAT.make < prev    next >
Encoding:
Text File  |  1996-01-14  |  1.3 KB  |  65 lines  |  [TEXT/MPS ]

  1. #   File:       Tabs LDEF.MPW.FAT.make
  2. #   Target:     Tabs LDEF.MPW.FAT
  3.  
  4.  
  5. "Tabs LDEF.MPW.FAT"    ƒ LDEF.rsrc
  6.     rez LDEF.r -a -o {Targ}
  7.     setfile -t 'RSRC' -c 'Doug' {Targ}
  8.  
  9.  
  10. MAKEFILE     = "Tabs LDEF.MPW.FAT.make"
  11. •MondoBuild• = {MAKEFILE}  # Make blank to avoid rebuilds when makefile is modified
  12. Includes     =
  13. Sym•PPC      = 
  14. ObjDir•PPC   = :ObjectsPPC:
  15. Sym•68K      = 
  16. ObjDir•68K   = :Objects68K:
  17. C            = SC
  18. PPCC         = MrC
  19.  
  20. PPCCOptions  = {Includes} {Sym•PPC} -w off
  21.  
  22. COptions     = {Includes} {Sym•68K} -w off -i "{CIncludes}"
  23.  
  24. Objects•PPC  = ∂
  25.     "{ObjDir•PPC}Tabs LDEF.c.x"
  26.  
  27. Objects•68K  = ∂
  28.     "{ObjDir•68K}Tabs LDEF.c.o"
  29.  
  30.  
  31. LDEF.rsrc ƒƒ {•MondoBuild•} {Objects•68K}
  32.     Link ∂
  33.         -o {Targ} -d {Sym•68K} ∂
  34.         {Objects•68K} ∂
  35.         -t 'RSRC' ∂
  36.         -c 'Doug' ∂
  37.         -rt oCod=1000 ∂
  38.         -m MAIN -sg LDEF
  39.  
  40.  
  41. LDEF.rsrc ƒƒ {•MondoBuild•} {Objects•PPC}
  42.     PPCLink ∂
  43.         -o LDEF.pef {Sym•PPC} ∂
  44.         {Objects•PPC} ∂
  45.         -t 'RSRC' ∂
  46.         -c 'Doug' ∂
  47.         -m main ∂
  48.           -packData off ∂
  49.         "{SharedLibraries}InterfaceLib" ∂
  50.         "{SharedLibraries}StdCLib" ∂
  51.         "{PPCLibraries}StdCRuntime.o" ∂
  52.         "{PPCLibraries}PPCCRuntime.o"
  53.     echo "read ∂'pCod∂' (1000) ∂"LDEF.pef∂";" | rez -a -o LDEF.rsrc
  54.         
  55.  
  56.  
  57. "{ObjDir•PPC}Tabs LDEF.c.x" ƒ {•MondoBuild•} "Tabs LDEF.c"
  58.     {PPCC} "Tabs LDEF.c" -o {Targ} {PPCCOptions}
  59.  
  60.  
  61.  
  62. "{ObjDir•68K}Tabs LDEF.c.o" ƒ {•MondoBuild•} "Tabs LDEF.c"
  63.     {C} "Tabs LDEF.c" -o {Targ} {COptions}
  64.  
  65.